﻿/*-------------------------------------------------------------
 * Author : Tharinduni Udugamasuriya
 * Date : 13th February 2015
 * PurchaseOrderViewModel : View Model for Purchase Order View 
 --------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DSPL.Contracts.ViewModel;

namespace DSPL.Finac.ViewModel
{
    public class PurchaseOrderViewModel : BaseViewModel
    {
        #region Define Properties

        #region Private Variables

        private bool isCurrencyCodeFocus;
        private bool isSupplierCodeFocus;
        private bool isCostCenterFocus;
        private bool isTxnDateFocus;
        private bool isLocationCodeFocus;
        private bool isDeliveryDateFocus;
        private bool isTaxComCodeFocus;
        private bool isExchangeRateFocus;

        #endregion

        #region Public Properties

        public bool IsCurrencyCodeFocus
        {
            get { return isCurrencyCodeFocus; }
            set
            {
                isCurrencyCodeFocus = value;
                OnPropertyChanged("IsCurrencyCodeFocus");
            }
        }
        
        public bool IsSupplierCodeFocus
        {
            get { return isSupplierCodeFocus; }
            set
            {
                isSupplierCodeFocus = value;
                OnPropertyChanged("IsSupplierCodeFocus");
            }
        }
        
        public bool IsCostCenterFocus
        {
            get { return isCostCenterFocus; }
            set
            {
                isCostCenterFocus = value;
                OnPropertyChanged("IsCostCenterFocus");
            }
        }
        
        public bool IsTxnDateFocus
        {
            get { return isTxnDateFocus; }
            set
            {
                isTxnDateFocus = value;
                OnPropertyChanged("IsTxnDateFocus");
            }
        }
        
        public bool IsLocationCodeFocus
        {
            get { return isLocationCodeFocus; }
            set
            {
                isLocationCodeFocus = value;
                OnPropertyChanged("IsLocationCodeFocus");
            }
        }
        
        public bool IsDeliveryDateFocus
        {
            get { return isDeliveryDateFocus; }
            set { isDeliveryDateFocus = value; }
        }
        
        public bool IsTaxComCodeFocus
        {
            get { return isTaxComCodeFocus; }
            set { isTaxComCodeFocus = value; }
        }
        
        public bool IsExchangeRateFocus
        {
            get { return isExchangeRateFocus; }
            set { isExchangeRateFocus = value; }
        }
        
        #endregion  

        #region Constructor

        public PurchaseOrderViewModel()
            : base()
        {
            MessageTitle = "Purchase Order ";
        }

        #endregion

        #endregion
    }
}
